package com.dcd.controller;


import com.dcd.pojo.Information_images;
import com.dcd.service.Information_imagesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RequestMapping("/Information_imagesController")
@RestController
public class Information_imagesController {

    @Autowired
    private Information_imagesService imagesService;

    /**
     * 查询首页资讯轮播图图片
     * @return 返回图片，id
     */
    @RequestMapping("/select_index_Information_images")
    public List<Information_images> select_index_Information_images(){
        return imagesService.select_index_Information_images();
    }
}
